Blucta — third-party components
===============================

Blucta bundles the programs and libraries below. It does not modify any of them.
Each keeps its own licence; the version shipped is named so the matching source
can be identified exactly.

PERMISSIVE
----------
llama.cpp            build 10976 (987498f45)  MIT
  Runs the local language models.
  https://github.com/ggml-org/llama.cpp

whisper.cpp          1.8.5                    MIT
  Speech to text.
  https://github.com/ggml-org/whisper.cpp

stable-diffusion.cpp commit 07a85c7           MIT
  Image and video generation.
  https://github.com/leejet/stable-diffusion.cpp

ggml                 (bundled with the three above)   MIT
  The tensor library all three run on.
  https://github.com/ggml-org/ggml

libwebp                                       BSD-3-Clause
  WebP images, shipped with stable-diffusion.cpp.
  https://github.com/webmproject/libwebp

LLVM OpenMP runtime  libomp.dll               Apache-2.0 WITH LLVM-exception
  Parallel inference on the CPU.
  https://openmp.llvm.org/

libwebm                                       BSD-3-Clause
  WebM video, shipped with stable-diffusion.cpp.
  https://github.com/webmproject/libwebm

OpenSSL              1.1.1j                   OpenSSL and SSLeay licences
  HTTPS: the model downloads, the update check and the usage count.
  This product includes software developed by the OpenSSL Project for use in
  the OpenSSL Toolkit (http://www.openssl.org/), and cryptographic software
  written by Eric Young (eay@cryptsoft.com).
  https://www.openssl.org/source/license-openssl-ssleay.txt

NVIDIA CUDA runtime  12.8                     NVIDIA CUDA Toolkit EULA
  cudart64_12.dll, cublas64_12.dll, cublasLt64_12.dll -- not in this package;
  downloaded into win64\sd only on an NVIDIA machine, the first time a
  picture or video is made. Redistributed unmodified under the EULA's
  redistributable-software terms.
  https://docs.nvidia.com/cuda/eula/

Free Pascal / Lazarus LCL                     LGPL with linking exception
  Compiler, runtime and the windows you are looking at.
  https://www.freepascal.org/  https://www.lazarus-ide.org/

Microsoft Edge WebView2 Loader                Microsoft redistributable
  Renders the chat.
  https://developer.microsoft.com/microsoft-edge/webview2/

GPL — SEPARATE PROGRAMS, RUN AS CHILD PROCESSES
-----------------------------------------------
Blucta never links against these. It starts them as ordinary command-line
processes and reads their output, exactly as a shell script would. They are
redistributed here unmodified and under their own licence.

SoX                  14.4.2                   GPL-2.0-or-later
  Decodes and resamples audio to the 16 kHz mono WAV that whisper requires.
  https://sourceforge.net/projects/sox/
  Source: https://sourceforge.net/projects/sox/files/sox/14.4.2/
  Licence text: win32\sox\LICENSE.GPL.txt
  (SoX also links libmad and libid3tag, which are GPL-2.0; libFLAC, libogg,
   libvorbis and WavPack, which are BSD; libmp3lame, which is LGPL; and the
   GCC runtime libraries, under the GCC Runtime Library Exception.)

Xpdf pdftotext       4.06                     GPL-2.0
  Extracts the text of a PDF so the agent can read it.
  https://www.xpdfreader.com/
  Source: https://dl.xpdfreader.com/  (xpdf-4.06.tar.gz)

WRITTEN OFFER
-------------
For the GPL components above, the complete corresponding source code is
available at the URLs given. Should those become unavailable, Sofeh will
provide the corresponding source on request for three years from the date this
version was distributed, for no more than the cost of the transfer.
Contact: rmnjafari@gmail.com
